<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>

</body>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script>
    $.ajax({
        url:'/',
        type:'POST',
        data:{root:{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[],"id":"e"},{"children":[],"id":"f"}],"id":"d"}],"id":"c"}],"id":"b"},{"children":[],"id":"g"},{"children":[],"id":"h"}],"id":"a"}],"id":"root"}},
        success: function (res) {
            console.log(res);
        },
        error: function (err) {
            console.error(err);
        }
    });
</script>
</html>